Composable Difference Operators for Coordinate Invariant Partial Differential Equations
نویسنده
چکیده
Computer simulations are a cost efficient complement to laboratory experiments. Software for the solution of partial differential equations is part of the basic infrastructure for the evolving field of Computational Science and Engineering. Numerical analysts are involved in the development of suitable methods and algorithms for the solution of a wide range of partial differential equations. Based on the needs of a numerical analyst, we here identify requirements on software for the solution of partial differential equations. In particular, we look at support for flexible formulations of finite difference methods on curvilinear structured grids. We present FlexOp, a software solution that meets the requirements that have been identified. The semantics of the FlexOp is highly mathematical, and includes coordinate invariant operators. The discretization strategy is specified using parameterized classes, and can be chosen independently for different instances of the same operator. The use of static polymorphism allows for a flexible and efficient implementation of the application of the discretized operator. In order to assess the FlexOp, we use them to implement a compact fourth-order Numerov method, using the TENGOME infrastructure as a basis and C++ as the implementation language. We find that the FlexOp are easy to use, because of the high agreement between mathematical derivation and implementation of the method. Compared with a special purpose implementation for a particular discretization scheme, we find that FlexOp offer a significant reduction in the number of lines of code, together with an associated enhanced maintainability. The increased flexibility comes without a cost in the form of an increase of execution time, when compared with the special purpose application.
منابع مشابه
Invariant functions for solving multiplicative discrete and continuous ordinary differential equations
In this paper, at first the elemantary and basic concepts of multiplicative discrete and continous differentian and integration introduced. Then for these kinds of differentiation invariant functions the general solution of discrete and continous multiplicative differential equations will be given. Finaly a vast class of difference equations with variable coefficients and nonlinear difference e...
متن کاملSimulation of Singular Fourth- Order Partial Differential Equations Using the Fourier Transform Combined With Variational Iteration Method
In this paper, we present a comparative study between the modified variational iteration method (MVIM) and a hybrid of Fourier transform and variational iteration method (FTVIM). The study outlines the efficiencyand convergence of the two methods. The analysis is illustrated by investigating four singular partial differential equations with variable coefficients. The solution of singular partia...
متن کاملThe Orthogonal Decomposition Theorems for Mimetic Finite Difference Methods
Abstract. Accurate discrete analogs of differential operators that satisfy the identities and theorems of vector and tensor calculus provide reliable finite difference methods for approximating the solutions to a wide class of partial differential equations. These methods mimic many fundamental properties of the underlying physical problem including conservation laws, symmetries in the solution...
متن کاملExact solutions of a linear fractional partial differential equation via characteristics method
In recent years, many methods have been studied for solving differential equations of fractional order, such as Lie group method, invariant subspace method and numerical methods, cite{6,5,7,8}. Among this, the method of characteristics is an efficient and practical method for solving linear fractional differential equations (FDEs) of multi-order. In this paper we apply this method f...
متن کاملThe Study of Some Boundary Value Problems Including Fractional Partial Differential Equations with non-Local Boundary Conditions
In this paper, we consider some boundary value problems (BVP) for fractional order partial differential equations (FPDE) with non-local boundary conditions. The solutions of these problems are presented as series solutions analytically via modified Mittag-Leffler functions. These functions have been modified by authors such that their derivatives are invariant with respect to fractional deriv...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007